home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Freeware / Adobe Air 1.5 / AdobeAIRInstaller.exe / Adobe AIR / Versions / 1.0 / Adobe AIR Application Installer.swf / scripts / _AppInstallerWatcherSetupUtil.as < prev    next >
Text File  |  2008-10-29  |  10KB  |  147 lines

  1. package
  2. {
  3.    import flash.display.Sprite;
  4.    import mx.binding.IWatcherSetupUtil;
  5.    import mx.binding.PropertyWatcher;
  6.    import mx.core.IFlexModuleFactory;
  7.    
  8.    public class _AppInstallerWatcherSetupUtil extends Sprite implements IWatcherSetupUtil
  9.    {
  10.        
  11.       
  12.       public function _AppInstallerWatcherSetupUtil()
  13.       {
  14.          super();
  15.       }
  16.       
  17.       public static function init(param1:IFlexModuleFactory) : void
  18.       {
  19.          AppInstaller.watcherSetupUtil = new _AppInstallerWatcherSetupUtil();
  20.       }
  21.       
  22.       public function setup(param1:Object, param2:Function, param3:Array, param4:Array) : void
  23.       {
  24.          param4[55] = new PropertyWatcher("updateDiffVerContentBox",{"propertyChange":true},[param3[109]],param2);
  25.          param4[0] = new PropertyWatcher("record",{"propertyChange":true},[param3[4],param3[19],param3[30],param3[40],param3[104],param3[11],param3[50],param3[48],param3[103],param3[66],param3[49],param3[44],param3[46],param3[10],param3[0]],param2);
  26.          param4[49] = new PropertyWatcher("installed",{"propertyChange":true},[param3[103]],null);
  27.          param4[50] = new PropertyWatcher("version",{"propertyChange":true},[param3[103]],null);
  28.          param4[9] = new PropertyWatcher("fileFrom",{"propertyChange":true},[param3[11]],null);
  29.          param4[1] = new PropertyWatcher("app",{"propertyChange":true},[param3[4],param3[30],param3[19],param3[40],param3[104],param3[0]],null);
  30.          param4[2] = new PropertyWatcher("description",{"propertyChange":true},[param3[40],param3[0]],null);
  31.          param4[3] = new PropertyWatcher("length",{"propertyChange":true},[param3[0]],null);
  32.          param4[19] = new PropertyWatcher("publisher",{"propertyChange":true},[param3[30]],null);
  33.          param4[6] = new PropertyWatcher("name",{"propertyChange":true},[param3[4],param3[19]],null);
  34.          param4[51] = new PropertyWatcher("version",{"propertyChange":true},[param3[104]],null);
  35.          param4[26] = new PropertyWatcher("prefs",{"propertyChange":true},[param3[50],param3[48],param3[46],param3[49]],null);
  36.          param4[29] = new PropertyWatcher("forceLaunch",{"propertyChange":true},[param3[48]],null);
  37.          param4[31] = new PropertyWatcher("location",{"propertyChange":true},[param3[50]],null);
  38.          param4[27] = new PropertyWatcher("installDesktopShortcut",{"propertyChange":true},[param3[46]],null);
  39.          param4[30] = new PropertyWatcher("launch",{"propertyChange":true},[param3[49]],null);
  40.          param4[8] = new PropertyWatcher("filename",{"propertyChange":true},[param3[66],param3[10]],null);
  41.          param4[24] = new PropertyWatcher("willInstallRuntime",{"propertyChange":true},[param3[44]],null);
  42.          param4[36] = new PropertyWatcher("titleLabel",{"propertyChange":true},[param3[64]],param2);
  43.          param4[15] = new PropertyWatcher("securityContent",{"propertyChange":true},[param3[21]],param2);
  44.          param4[61] = new PropertyWatcher("uninstallCancelButton",{"propertyChange":true},[param3[121]],param2);
  45.          param4[34] = new PropertyWatcher("airIcon",{"propertyChange":true},[param3[58]],param2);
  46.          param4[7] = new PropertyWatcher("openButton",{"propertyChange":true},[param3[9]],param2);
  47.          param4[16] = new PropertyWatcher("installButton",{"propertyChange":true},[param3[31],param3[22]],param2);
  48.          param4[11] = new PropertyWatcher("redSecurityIcon",{"propertyChange":true},[param3[14]],param2);
  49.          param4[20] = new PropertyWatcher("continueButton",{"propertyChange":true},[param3[35]],param2);
  50.          param4[63] = new PropertyWatcher("uninstallButton",{"propertyChange":true},[param3[125]],param2);
  51.          param4[35] = new PropertyWatcher("eula",{"propertyChange":true},[param3[60],param3[59]],param2);
  52.          param4[59] = new PropertyWatcher("updateDiffReplaceButton",{"propertyChange":true},[param3[117]],param2);
  53.          param4[53] = new PropertyWatcher("updateDiffText",{"propertyChange":true},[param3[116],param3[106]],param2);
  54.          param4[32] = new PropertyWatcher("installAIRCheckBox",{"propertyChange":true},[param3[51],param3[53]],param2);
  55.          param4[37] = new PropertyWatcher("progressLabel",{"propertyChange":true},[param3[73],param3[68],param3[77],param3[75],param3[70],param3[72],param3[67],param3[71],param3[69]],param2);
  56.          param4[58] = new PropertyWatcher("updateDiffBotSpacer",{"propertyChange":true},[param3[115]],param2);
  57.          param4[18] = new PropertyWatcher("verifiedLabel",{"propertyChange":true},[param3[29],param3[27]],param2);
  58.          param4[5] = new PropertyWatcher("contentBox",{"propertyChange":true},[param3[90],param3[62],param3[8],param3[127],param3[16],param3[3],param3[80],param3[7],param3[86],param3[17],param3[34],param3[65],param3[56],param3[120],param3[101]],param2);
  59.          param4[42] = new PropertyWatcher("errorIDText",{"propertyChange":true},[param3[88]],param2);
  60.          param4[39] = new PropertyWatcher("finishButton",{"propertyChange":true},[param3[81]],param2);
  61.          param4[12] = new PropertyWatcher("securityInfo",{"propertyChange":true},[param3[15],param3[26],param3[25]],param2);
  62.          param4[17] = new PropertyWatcher("yellowSecurityIcon",{"propertyChange":true},[param3[24]],param2);
  63.          param4[22] = new PropertyWatcher("locManager",{"propertyChange":true},[param3[45],param3[105],param3[47],param3[43]],param2);
  64.          param4[57] = new PropertyWatcher("updateDiffHRule",{"propertyChange":true},[param3[114]],param2);
  65.          param4[43] = new PropertyWatcher("runButton",{"propertyChange":true},[param3[96],param3[91],param3[98]],param2);
  66.          param4[10] = new PropertyWatcher("iconImage",{"propertyChange":true},[param3[13],param3[23],param3[57]],param2);
  67.          param4[40] = new PropertyWatcher("doneLabelResourceName",{"propertyChange":true},[param3[82]],param2);
  68.          param4[13] = new PropertyWatcher("cancelButton",{"propertyChange":true},[param3[32],param3[18]],param2);
  69.          param4[62] = new PropertyWatcher("uninstallLabel",{"propertyChange":true},[param3[122],param3[124]],param2);
  70.          param4[47] = new PropertyWatcher("uninstallSame",{"propertyChange":true},[param3[97]],param2);
  71.          param4[14] = new PropertyWatcher("securityHeader",{"propertyChange":true},[param3[20]],param2);
  72.          param4[46] = new PropertyWatcher("updateSameVerCancelButton",{"propertyChange":true},[param3[99],param3[95]],param2);
  73.          param4[45] = new PropertyWatcher("updateSameVerContentBox",{"propertyChange":true},[param3[94]],param2);
  74.          param4[41] = new PropertyWatcher("errorText",{"propertyChange":true},[param3[87]],param2);
  75.          param4[33] = new PropertyWatcher("addShortcutCheckBox",{"propertyChange":true},[param3[52],param3[54]],param2);
  76.          param4[54] = new PropertyWatcher("updateDiffLinkButton",{"propertyChange":true},[param3[108],param3[113]],param2);
  77.          param4[60] = new PropertyWatcher("updateDiffMidSpacer",{"propertyChange":true},[param3[118]],param2);
  78.          param4[56] = new PropertyWatcher("updateDiffVersionForm",{"propertyChange":true},[param3[112],param3[110]],param2);
  79.          param4[48] = new PropertyWatcher("updateDiffCancelButton",{"propertyChange":true},[param3[102]],param2);
  80.          param4[4] = new PropertyWatcher("appIconBG",{"propertyChange":true},[param3[1]],param2);
  81.          param4[38] = new PropertyWatcher("progressCancel",{"propertyChange":true},[param3[74],param3[78],param3[76]],param2);
  82.          param4[21] = new PropertyWatcher("showDescription",{"propertyChange":true},[param3[41],param3[36],param3[38],param3[42],param3[37],param3[39]],param2);
  83.          param4[44] = new PropertyWatcher("updateMsgText",{"propertyChange":true},[param3[93]],param2);
  84.          param4[55].updateParent(param1);
  85.          param4[0].updateParent(param1);
  86.          param4[0].addChild(param4[49]);
  87.          param4[49].addChild(param4[50]);
  88.          param4[0].addChild(param4[9]);
  89.          param4[0].addChild(param4[1]);
  90.          param4[1].addChild(param4[2]);
  91.          param4[2].addChild(param4[3]);
  92.          param4[1].addChild(param4[19]);
  93.          param4[1].addChild(param4[6]);
  94.          param4[1].addChild(param4[51]);
  95.          param4[0].addChild(param4[26]);
  96.          param4[26].addChild(param4[29]);
  97.          param4[26].addChild(param4[31]);
  98.          param4[26].addChild(param4[27]);
  99.          param4[26].addChild(param4[30]);
  100.          param4[0].addChild(param4[8]);
  101.          param4[0].addChild(param4[24]);
  102.          param4[36].updateParent(param1);
  103.          param4[15].updateParent(param1);
  104.          param4[61].updateParent(param1);
  105.          param4[34].updateParent(param1);
  106.          param4[7].updateParent(param1);
  107.          param4[16].updateParent(param1);
  108.          param4[11].updateParent(param1);
  109.          param4[20].updateParent(param1);
  110.          param4[63].updateParent(param1);
  111.          param4[35].updateParent(param1);
  112.          param4[59].updateParent(param1);
  113.          param4[53].updateParent(param1);
  114.          param4[32].updateParent(param1);
  115.          param4[37].updateParent(param1);
  116.          param4[58].updateParent(param1);
  117.          param4[18].updateParent(param1);
  118.          param4[5].updateParent(param1);
  119.          param4[42].updateParent(param1);
  120.          param4[39].updateParent(param1);
  121.          param4[12].updateParent(param1);
  122.          param4[17].updateParent(param1);
  123.          param4[22].updateParent(param1);
  124.          param4[57].updateParent(param1);
  125.          param4[43].updateParent(param1);
  126.          param4[10].updateParent(param1);
  127.          param4[40].updateParent(param1);
  128.          param4[13].updateParent(param1);
  129.          param4[62].updateParent(param1);
  130.          param4[47].updateParent(param1);
  131.          param4[14].updateParent(param1);
  132.          param4[46].updateParent(param1);
  133.          param4[45].updateParent(param1);
  134.          param4[41].updateParent(param1);
  135.          param4[33].updateParent(param1);
  136.          param4[54].updateParent(param1);
  137.          param4[60].updateParent(param1);
  138.          param4[56].updateParent(param1);
  139.          param4[48].updateParent(param1);
  140.          param4[4].updateParent(param1);
  141.          param4[38].updateParent(param1);
  142.          param4[21].updateParent(param1);
  143.          param4[44].updateParent(param1);
  144.       }
  145.    }
  146. }
  147.